#ifndef EVENTHANDLER_H
#define EVENTHANDLER_H

#include <SDL.h>

class EventHandler
{
public:
	EventHandler();
	virtual ~EventHandler() = 0;
	void HandleEvent(const SDL_Event& event);

	virtual void OnKeyBoardEvent(const SDL_KeyboardEvent&) { }
	virtual void OnMouseEvent(const SDL_MouseButtonEvent&) { }
	virtual void OnMouseMotionEvent(const SDL_MouseMotionEvent&) { }
	virtual void OnJoystickAxisEvent(const SDL_JoyAxisEvent&) { }
};

#endif